<template>
  <div class="container">
    <div class="content">
      <div class="left" @click="goHome">
        <img src="../../assets/logo.png" alt="logo加载失败">
        <p>尚医通</p>
        <p>预约挂号统一平台</p>
      </div>
      <div class="right">
        <p>帮助中心</p>
        <p>登录/注册</p>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import {useRouter} from "vue-router";
let $router = useRouter()

const goHome = ()=>{
  $router.push({path:'/home'})
}
</script>

<style scoped lang="scss">
.container{
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: center;
  box-shadow: 0 5px 5px #cccccc;
  z-index: 9999;
  position: fixed;
  .content{
    width: 1200px;
    height: 70px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    .left{
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 26px;
      img{
        width: 60px;
        height: 60px;
        margin-right: 10px;
      }
      p{
        margin-right: 10px;
        color: #8cc5ff;
      }
    }
    .left:hover{
      cursor: pointer;
    }
    .right{
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 16px;
      p{
        margin-right: 10px;
        color: #cccccc;
      }
      p:hover{
        color: black;
        cursor: pointer;
      }
    }
  }
}
</style>